@echo off
set /a xxx=%1+0
shutdown -r -t %xxx%